import asyncio

from loguru import logger

from common import utils, config
from core.robot import grass_boot


async def main():
    if await utils.check_is_not_allow_running():
        logger.error(f"{config.ERROR_TIPS},")
        return
    grass_boot.bootstrap()
if __name__ == "__main__":
    asyncio.run(main())